Skip to content

fix(web): fix bugs in createDefaultKeep, extend unit testing 🚂#15950

Draft
jahorton wants to merge 10 commits into
change/web/rework-traversalless-predictionfrom
fix/web/create-default-keep
Draft

fix(web): fix bugs in createDefaultKeep, extend unit testing 🚂#15950
jahorton wants to merge 10 commits into
change/web/rework-traversalless-predictionfrom
fix/web/create-default-keep

Conversation

@jahorton
Copy link
Copy Markdown
Contributor

It turns out that #15766 did not perfectly address all cases for generation of default "keep" suggestions. This PR will remedy the situation.

Build-bot: skip build:web
Test-bot: skip

jahorton added 10 commits May 7, 2026 13:11
This method is designed to determine the appropriate range of tokens, within each context variant, should be eligible for correction when generating predictions and corrections.

Build-bot: skip build:web
Test-bot: skip
To better handle inputs that shift the word-boundary in some custom models and models released before Keyman 14.0, this PR provides generalized re-use of the whitespace-based token-transition algorithm used for our most prominently-supported models.

Build-bot: skip build:web
Test-bot: skip
…rection

Build-bot: skip build:web
Test-bot: skip
Lack of this string can break auto-correction and casing behaviors - and actually _did_ within engine/main!
…to change/web/rework-traversalless-prediction
It turns out that #15766 did not perfectly address all cases for generation of default "keep" suggestions.  This PR will remedy the situation.

Build-bot: skip build:web
Test-bot: skip
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot Bot commented May 12, 2026

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot Bot changed the title fix(web): fix bugs in createDefaultKeep, extend unit testing fix(web): fix bugs in createDefaultKeep, extend unit testing 🚂 May 12, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S29 milestone May 12, 2026
@github-actions github-actions Bot added the fix label May 12, 2026
@jahorton jahorton force-pushed the change/web/rework-traversalless-prediction branch from dacfc13 to 8227b81 Compare May 15, 2026 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant